TELCallPickup
Answers a call that is alerting at a different terminal.
pascal TELErr TELCallPickup ( TELCAHandle hTELCA, ConstStr255Param pickupDN, short pickupGroupID);
hTELCA
- A handle you provide to the call appearance structure for the call being picked up. You get the handle from a
telCAAlertingMsg
or atelCAOfferMsg
message.pickupDN
- A pointer to a Pascal-style string containing a remote directory number. If you want to pick up a call alerting at a specific directory number, set the string to that number. If you want to pick up any alerting call within a pickup group, set this parameter to
nil
. In that case, the telephone tool selects the call to be picked up. (A pickup group is defined by the telephone network switch.)pickupGroupID
- An identifier for the pickup group to which the alerting directory number belongs. Your application needs to set this parameter if the telephone network switch requires a pickup ID for Call Pickup requests. To find out, check the
numPickupIDs
field of the directory-number structure associated with this call appearance. If the value of this field is greater than zero, the system requires a pickup ID.- function result
- A result code.
DESCRIPTION
After your application calls theTELCallPickup
function, your call appearance message handler receives atelCAActiveMsg
message, just as it does when answering a normal alerting call.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help